import requests
from config import RunConfig

def 查询地面放射性记录详情列表(para):
    response = requests.get(
        url=RunConfig.url + "ground/activity/{id}?page=1&perPage=10",
        headers=RunConfig.headers,
        verify=False
    )
    return response


def 编辑班报复核记录(para):
    response = requests.post(
        url=RunConfig.url + "/class/report/check/update",
        headers=RunConfig.headers,
        json=para,
        verify=False
    )
    return response


def 修改原始数据状态(para):
    response = requests.get(
        url=RunConfig.url + "wt/raw/{id}/{methodId}/{status}",
        headers=RunConfig.headers,
        verify=False
    )
    return response


def 查询班报复核记录(para):
    response = requests.get(
        url=RunConfig.url + "class/report/check/{id}?exploitMainId=&leader=&type=",
        headers=RunConfig.headers,
        verify=False
    )
    return response


def 导出综合管线记录(para):
    response = requests.post(
        url=RunConfig.url + "/composite/pipeline/export/{id}",
        headers=RunConfig.headers,
        json=para,
        verify=False
    )
    return response


def 查询钻孔电阻率记录(para):
    response = requests.get(
        url=RunConfig.url + "drill/resis/{id}",
        headers=RunConfig.headers,
        verify=False
    )
    return response


def 修改钻孔管线探测记录(para):
    response = requests.post(
        url=RunConfig.url + "/drill/probe/update",
        headers=RunConfig.headers,
        json=para,
        verify=False
    )
    return response


def 批量提交钻孔管线数据(para):
    response = requests.post(
        url=RunConfig.url + "/drill/pipeline/batch",
        headers=RunConfig.headers,
        json=para,
        verify=False
    )
    return response


def 班报导出(para):
    response = requests.get(
        url=RunConfig.url + "class/report/export/{id}",
        headers=RunConfig.headers,
        verify=False
    )
    return response


def APP查询班报记录列表(para):
    response = requests.get(
        url=RunConfig.url + "class/report/list?isPublic=&situationID=",
        headers=RunConfig.headers,
        verify=False
    )
    return response


def APP查询大地导电率记录列表(para):
    response = requests.get(
        url=RunConfig.url + "ground/electric/list?isPublic=&situationID=",
        headers=RunConfig.headers,
        verify=False
    )
    return response


def APP查询土壤电阻率任务列表(para):
    response = requests.get(
        url=RunConfig.url + "soil/resis/list?isPublic=&situationID=",
        headers=RunConfig.headers,
        verify=False
    )
    return response


def 分页查询任务钻孔管线详情列表(para):
    response = requests.get(
        url=RunConfig.url + "drill/pipeline/{id}?page=1&perPage=10",
        headers=RunConfig.headers,
        verify=False
    )
    return response


def 文件替换(para):
    response = requests.post(
        url=RunConfig.url + "/explore/file/replace",
        headers=RunConfig.headers,
        json=para,
        verify=False
    )
    return response


def 上传照片/编辑照片(para):
    response = requests.post(
        url=RunConfig.url + "/task/image/update",
        headers=RunConfig.headers,
        json=para,
        verify=False
    )
    return response


def 批量提交/更新土壤电阻率数据(para):
    response = requests.post(
        url=RunConfig.url + "/soil/resis/batch/{id}",
        headers=RunConfig.headers,
        json=para,
        verify=False
    )
    return response


def 编辑土壤电阻率(para):
    response = requests.post(
        url=RunConfig.url + "/soil/resis/update",
        headers=RunConfig.headers,
        json=para,
        verify=False
    )
    return response


def 导出土壤电阻率记录(para):
    response = requests.get(
        url=RunConfig.url + "soil/resis/export/{id}",
        headers=RunConfig.headers,
        verify=False
    )
    return response


def 批量上传照片/批量更新照片(para):
    response = requests.post(
        url=RunConfig.url + "/task/image/batchUpdate",
        headers=RunConfig.headers,
        json=para,
        verify=False
    )
    return response


def 导出钻孔管线探测记录(para):
    response = requests.post(
        url=RunConfig.url + "/drill/probe/export/{id}",
        headers=RunConfig.headers,
        json=para,
        verify=False
    )
    return response


def 删除(para):
    response = requests.get(
        url=RunConfig.url + "explore/file/{id}",
        headers=RunConfig.headers,
        verify=False
    )
    return response


def 分页查询工作照片/测量照片(para):
    response = requests.get(
        url=RunConfig.url + "task/image/{id}/{type}?page=1&perPage=10",
        headers=RunConfig.headers,
        verify=False
    )
    return response


def APP查询地面放射性记录列表(para):
    response = requests.get(
        url=RunConfig.url + "ground/activity/list?isPublic=&situationID=",
        headers=RunConfig.headers,
        verify=False
    )
    return response


def 查询土壤电阻率详情列表(para):
    response = requests.get(
        url=RunConfig.url + "soil/resis/{id}?page=1&perPage=10",
        headers=RunConfig.headers,
        verify=False
    )
    return response


def 查询钻孔管线探测记录(para):
    response = requests.get(
        url=RunConfig.url + "drill/probe/{id}?exploitMainId=&leader=&type=",
        headers=RunConfig.headers,
        verify=False
    )
    return response


def 查询班报记录详情列表(para):
    response = requests.get(
        url=RunConfig.url + "class/report/{id}?page=1&perPage=10",
        headers=RunConfig.headers,
        verify=False
    )
    return response


def 地面放射性导出(para):
    response = requests.get(
        url=RunConfig.url + "ground/activity/export/{id}",
        headers=RunConfig.headers,
        verify=False
    )
    return response


def 导出钻孔电阻率记录(para):
    response = requests.post(
        url=RunConfig.url + "/drill/resis/export/{id}",
        headers=RunConfig.headers,
        json=para,
        verify=False
    )
    return response


def 批量提交班报记录数据(para):
    response = requests.post(
        url=RunConfig.url + "/class/report/batch/{id}?zygzcs=",
        headers=RunConfig.headers,
        json=para,
        verify=False
    )
    return response


def 编辑综合管线记录(para):
    response = requests.post(
        url=RunConfig.url + "/composite/pipeline/update",
        headers=RunConfig.headers,
        json=para,
        verify=False
    )
    return response


def APP查询任务钻孔管线列表(para):
    response = requests.get(
        url=RunConfig.url + "drill/pipeline/list?isPublic=&situationID=",
        headers=RunConfig.headers,
        verify=False
    )
    return response


def 原始数据下载(para):
    response = requests.get(
        url=RunConfig.url + "wt/raw/download/{id}/{type}/{methodId}",
        headers=RunConfig.headers,
        verify=False
    )
    return response


def 批量修改地面放射性记录数据(para):
    response = requests.post(
        url=RunConfig.url + "/ground/activity/batchUpdate",
        headers=RunConfig.headers,
        json=para,
        verify=False
    )
    return response


def 编辑(para):
    response = requests.post(
        url=RunConfig.url + "/explore/file/update",
        headers=RunConfig.headers,
        json=para,
        verify=False
    )
    return response


def 查询大地导电率附件(para):
    response = requests.get(
        url=RunConfig.url + "ground/electric/attch/{id}",
        headers=RunConfig.headers,
        verify=False
    )
    return response


def 查询大地导电率记录详情列表(para):
    response = requests.get(
        url=RunConfig.url + "ground/electric/{id}",
        headers=RunConfig.headers,
        verify=False
    )
    return response


def 编辑钻孔管线详情(para):
    response = requests.post(
        url=RunConfig.url + "/drill/pipeline/update",
        headers=RunConfig.headers,
        json=para,
        verify=False
    )
    return response


def 查询土壤电阻率复核记录(para):
    response = requests.get(
        url=RunConfig.url + "soil/resis/check/{id}?exploitMainId=&leader=&type=",
        headers=RunConfig.headers,
        verify=False
    )
    return response


def 地面放射性导入(para):
    response = requests.post(
        url=RunConfig.url + "/ground/activity/import/{id}",
        headers=RunConfig.headers,
        json=para,
        verify=False
    )
    return response


def 查询综合管线记录(para):
    response = requests.get(
        url=RunConfig.url + "composite/pipeline/{id}",
        headers=RunConfig.headers,
        verify=False
    )
    return response


def 编辑土壤电阻率复核记录(para):
    response = requests.post(
        url=RunConfig.url + "/soil/resis/check/update",
        headers=RunConfig.headers,
        json=para,
        verify=False
    )
    return response


def 编辑钻孔电阻率记录(para):
    response = requests.post(
        url=RunConfig.url + "/drill/resis/update",
        headers=RunConfig.headers,
        json=para,
        verify=False
    )
    return response


def 分页查询钻孔管线记录(para):
    response = requests.get(
        url=RunConfig.url + "drill/pipeline/page/{id}?drillName=&page=1&perPage=10",
        headers=RunConfig.headers,
        verify=False
    )
    return response


def 分页查询原始数据(para):
    response = requests.post(
        url=RunConfig.url + "/wt/raw/page?page=1&perPage=10",
        headers=RunConfig.headers,
        json=para,
        verify=False
    )
    return response


def 班报导入(para):
    response = requests.post(
        url=RunConfig.url + "/class/report/import/{id}",
        headers=RunConfig.headers,
        json=para,
        verify=False
    )
    return response


def 查询钻孔信息(para):
    response = requests.get(
        url=RunConfig.url + "drill/pipeline/drill?name=&projectId=",
        headers=RunConfig.headers,
        verify=False
    )
    return response


def 批量提交大地导电率记录数据(para):
    response = requests.post(
        url=RunConfig.url + "/ground/electric/batch/{id}",
        headers=RunConfig.headers,
        json=para,
        verify=False
    )
    return response


def 新增(para):
    response = requests.post(
        url=RunConfig.url + "/explore/file/create",
        headers=RunConfig.headers,
        json=para,
        verify=False
    )
    return response


def 批量更新大地导电率记录数据(para):
    response = requests.post(
        url=RunConfig.url + "/ground/electric/update",
        headers=RunConfig.headers,
        json=para,
        verify=False
    )
    return response


def 更新附件(para):
    response = requests.post(
        url=RunConfig.url + "/ground/electric/attch",
        headers=RunConfig.headers,
        json=para,
        verify=False
    )
    return response


def 大地导电率导出(para):
    response = requests.get(
        url=RunConfig.url + "ground/electric/export/{id}",
        headers=RunConfig.headers,
        verify=False
    )
    return response


def 查询(para):
    response = requests.post(
        url=RunConfig.url + "/explore/file/list/{id}",
        headers=RunConfig.headers,
        json=para,
        verify=False
    )
    return response


def 编辑班报记录(para):
    response = requests.post(
        url=RunConfig.url + "/class/report/update",
        headers=RunConfig.headers,
        json=para,
        verify=False
    )
    return response


def 删除班报记录(para):
    response = requests.get(
        url=RunConfig.url + "class/report/del/{id}",
        headers=RunConfig.headers,
        verify=False
    )
    return response


def 批量提交地面放射性记录数据(para):
    response = requests.post(
        url=RunConfig.url + "/ground/activity/batch/{id}",
        headers=RunConfig.headers,
        json=para,
        verify=False
    )
    return response


def 删除照片(para):
    response = requests.get(
        url=RunConfig.url + "task/image/del/{id}",
        headers=RunConfig.headers,
        verify=False
    )
    return response
